package API.RuntimeAPI;

public class availableProcessors {
    public static void main(String[] args) {
        //获取CUP线程(我的办公本16线程:))
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}